package kaug.loeng2;

/**
 * Line, which is a specific type of Shape.
 * @author Ago
 *
 */
public class Line extends Shape {

	/**
	 * Constructor for Line. If new Line()
	 * is executed, this method fires.
	 */
	public Line() { // constructor
		super(); // calls parent constructor
	}
	
	@Override
	public void draw() { // here we implement abstract draw
		// as you can see, you don't need to add javadoc
		// for this method, as it's already provided
		// in Shape class.
		System.out.println("drawing line, color: " + color);
	}
}
